package utils;

import com.alibaba.excel.EasyExcel;
import 南京理工大学.NJuBean;

import java.util.List;

public class ExcelUtils {
    public static void ExcelU(String name, Object bean, List<Object>objects) {
        String src = "src/" + name;
        EasyExcel.write(src, (Class) bean).sheet("user").doWrite(objects);

    }
}
